package com.syni.mdd.sjb.common.datatreaure.enums;

import com.syni.mdd.sjb.common.component.utils.common.enums.ReturnEnums;

public enum UnifiedCodeQueryEnums implements ReturnEnums {

    COUPON_NO_EXIST("无此券码结果，无法核销","63005"),
    COUPON_EXPIRE("券码已失效，无法核销","63003"),
    COUPON_NO_TIME_USE("券码未到可用期限，无法核销","63002"),
    IDENTIFICATION_FAILURE("识别失败，请重新尝试","63100");
    private String desc;
    private String returnCode;

    UnifiedCodeQueryEnums(String desc, String returnCode) {
        this.desc = desc;
        this.returnCode = returnCode;
    }

    @Override
    public String getCode() {
        return this.returnCode;
    }

    @Override
    public String getMsg() {
        return this.desc;
    }
}
